package org.swan.web.user.service;


import org.swan.web.user.bean.UserExtensionBean;

import java.util.List;
import java.util.Optional;

public interface UserExtensionService {

    Optional<UserExtensionBean> getUserExtensionById(long id);

    long addUserExtension(UserExtensionBean UserExtensionBean);

    UserExtensionBean updateUserExtension(UserExtensionBean UserExtensionBean);

    UserExtensionBean deleteUserExtensionById(long UserExtensionId);

    List<UserExtensionBean> list(int offset, int rows);
}
